import Vue from 'vue'
import Router from 'vue-router'

// 登录
const loginPage = (resolve) => {import('@/pages/login/login').then((module) => {resolve(module)})};
// 找回密码
const findPwd = (resolve) => {import('@/pages/login/forgot-pwd').then((module) => {resolve(module)})};
// 找回密码-下一步
const findPwdStep = (resolve) => {import('@/pages/login/new-pwd').then((module) => {resolve(module)})};
// 完善资料
const completeMaterial = (resolve) => {import('@/pages/login/complete-material').then((module) => {resolve(module)})};
// 邂逅
const meet = (resolve) => {import('@/pages/meet/meet').then((module) => {resolve(module)})};
// 邂逅-详细资料
const meetDetail = (resolve) => {import('@/pages/meet/detail').then((module) => {resolve(module)})};
// 邂逅-详细资料-ta的才艺
const talents = (resolve) => {import('@/pages/meet/talents').then((module) => {resolve(module)})};
// 邂逅-详细资料-ta的才艺-详情
const talentsDetail = (resolve) => {import('@/pages/meet/talents-detail').then((module) => {resolve(module)})};
// 互动
const interact = (resolve) => {import('@/pages/interact/interact').then((module) => {resolve(module)})};
// 互动-全部
const interactAll = (resolve) => {import('@/pages/interact/interact-all').then((module) => {resolve(module)})};
// 互动-地图
const interactMap = (resolve) => {import('@/pages/interact/interact-map').then((module) => {resolve(module)})};
// 互动-详情-旅游
const interactDetailTravel = (resolve) => {import('@/pages/interact/interact-detail-travel').then((module) => {resolve(module)})};
// 互动-详情-聚餐
const interactDetailFood = (resolve) => {import('@/pages/interact/interact-detail-food').then((module) => {resolve(module)})};
// 互动-详情-狼游
const interactDetailWolf = (resolve) => {import('@/pages/interact/interact-detail-wolf').then((module) => {resolve(module)})};
// 互动-详情-狼游
const interactVote = (resolve) => {import('@/pages/interact/interact-vote').then((module) => {resolve(module)})};
// 互动-详情-品茶
const interactDetailTea = (resolve) => {import('@/pages/interact/interact-detail-tea').then((module) => {resolve(module)})};
// 消息
const messages = (resolve) => {import('@/pages/messages/messages').then((module) => {resolve(module)})};
// 消息-聊天界面
const msgChat= (resolve) => {import('@/pages/messages/msg-chat').then((module) => {resolve(module)})};
// 消息-会话设置
const chatSetting = (resolve) => {import('@/pages/messages/msg-chat-setting').then((module) => {resolve(module)})};
// 消息-群发消息
const massMsg = (resolve) => {import('@/pages/messages/msg-mass').then((module) => {resolve(module)})};
// 消息-新建群发消息
const newMassMsg = (resolve) => {import('@/pages/messages/msg-choose-contact').then((module) => {resolve(module)})};
// 探索
const explore = (resolve) => {import('@/pages/explore/explore').then((module) => {resolve(module)})};
// 探索-搜索
const exploreSearch = (resolve) => {import('@/pages/explore/explore-search').then((module) => {resolve(module)})};
// 探索-动态
const exploreDynamic = (resolve) => {import('@/pages/explore/explore-dynamic').then((module) => {resolve(module)})};
// 探索-发布动态
const exploreDynamicRelease = (resolve) => {import('@/pages/explore/explore-release-dynamic').then((module) => {resolve(module)})};
// 探索-发现
const exploreFind = (resolve) => {import('@/pages/explore/explore-find').then((module) => {resolve(module)})};
// 探索-发现-谁看过我
const exploreFindSawMe = (resolve) => {import('@/pages/explore/find/saw-me').then((module) => {resolve(module)})};
// 探索-发现-我的备注
const exploreFindNote = (resolve) => {import('@/pages/explore/find/my-note').then((module) => {resolve(module)})};
// 探索-发现-我的匹配
const exploreFindMatch = (resolve) => {import('@/pages/explore/find/my-match').then((module) => {resolve(module)})};
// 探索-发现-我的匹配-详情
const exploreMatchDetail = (resolve) => {import('@/pages/explore/find/match-detail').then((module) => {resolve(module)})};
// 探索-商城
const exploreMall = (resolve) => {import('@/pages/explore/explore-mall').then((module) => {resolve(module)})};
// 探索-商城-鲜花珠宝旅游礼物商店
const mallGoods = (resolve) => {import('@/pages/mall/goods-list').then((module) => {resolve(module)})};
// 探索-商城-鲜花珠宝旅游礼物商店-详情
const mallGoodsDetail = (resolve) => {import('@/pages/mall/goods-detail').then((module) => {resolve(module)})};
// 探索-商城-确认订单
const mallOrderConfirm = (resolve) => {import('@/pages/mall/order-confirm').then((module) => {resolve(module)})};
// 探索-商城-婚前服务
const mallMarrige = (resolve) => {import('@/pages/mall/marriage-service').then((module) => {resolve(module)})};
// 探索-商城-相亲服务
const mallMatch = (resolve) => {import('@/pages/mall/match-service').then((module) => {resolve(module)})};
// 我的
const profile = (resolve) => {import('@/pages/profile/profile').then((module) => {resolve(module)})};
// 我的-详细资料
const profileDetail = (resolve) => {import('@/pages/profile/my-detail').then((module) => {resolve(module)})};
// 我的-详细资料-个人介绍
const myIntroduction = (resolve) => {import('@/pages/profile/my-introduction').then((module) => {resolve(module)})};
// 我的-详细资料-编辑兴趣爱好
const interestEdit = (resolve) => {import('@/pages/profile/interest').then((module) => {resolve(module)})};
// 我的-详细资料-编辑资料
const profileDetailEdit = (resolve) => {import('@/pages/profile/my-detail-edit').then((module) => {resolve(module)})};
// 我的-相册
const profileGallery = (resolve) => {import('@/pages/profile/my-gallery').then((module) => {resolve(module)})};
// 我的-全部服务
const profileAllService = (resolve) => {import('@/pages/profile/all-service').then((module) => {resolve(module)})};
// 我的-全部服务-开通会员
const profileJoinMember = (resolve) => {import('@/pages/profile/join-member').then((module) => {resolve(module)})};
const profileFriends = (resolve) => {import('@/pages/profile/my-friends').then((module) => {resolve(module)})};
// 我的-全部服务-跨城费
const profileCrossFee = (resolve) => {import('@/pages/profile/cross-fee').then((module) => {resolve(module)})};
// 我的-全部服务-红包/打赏
const profileRewardSet = (resolve) => {import('@/pages/profile/reward-setting').then((module) => {resolve(module)})};
// 我的-动态
const profileDynamic = (resolve) => {import('@/pages/profile/my-dynamic').then((module) => {resolve(module)})};
// 我的-实名认证
const profileVerified = (resolve) => {import('@/pages/profile/certification/verified').then((module) => {resolve(module)})};
// 我的-学历认证
const profileEdu = (resolve) => {import('@/pages/profile/certification/edu').then((module) => {resolve(module)})};
// 我的-车辆认证
const profileCar = (resolve) => {import('@/pages/profile/certification/car').then((module) => {resolve(module)})};
// 我的-财富认证
const profileWealth = (resolve) => {import('@/pages/profile/certification/wealth').then((module) => {resolve(module)})};
// 我的-账单中心
const profileBilling = (resolve) => {import('@/pages/profile/billing-center/billing-center').then((module) => {resolve(module)})};
// 我的-账单中心-账单明细
const billingList = (resolve) => {import('@/pages/profile/billing-center/billing-detail').then((module) => {resolve(module)})};
// 我的-账单中心-充值
const billingRecharge = (resolve) => {import('@/pages/profile/billing-center/recharge').then((module) => {resolve(module)})};
// 我的-账单中心-提现
const billingWithdraw = (resolve) => {import('@/pages/profile/billing-center/withdraw').then((module) => {resolve(module)})};
// 我的-账单中心-提现-选择账户
const withdrawAccount = (resolve) => {import('@/pages/profile/billing-center/withdraw-account').then((module) => {resolve(module)})};
// 我的-订单
const myOrder = (resolve) => {import('@/pages/order/my-order').then((module) => {resolve(module)})};
// 我的-订单-退货申请
const returnGoods = (resolve) => {import('@/pages/order/return-goods').then((module) => {resolve(module)})};
// 我的-订单-详情
const orderDetail = (resolve) => {import('@/pages/order/order-detail').then((module) => {resolve(module)})};
// 我的-礼物
const myGift = (resolve) => {import('@/pages/profile/my-gift').then((module) => {resolve(module)})};
// 我的-申请成为红娘
const profileApplicateMaker = (resolve) => {import('@/pages/profile/applicate-matchmaker').then((module) => {resolve(module)})};
// 支付
const pay = (resolve) => {import('@/pages/pay/pay').then((module) => {resolve(module)})};

/**红娘端***/
// 列表
const makerList = (resolve) => {import('@/pages/hn-list/index').then((module) => {resolve(module)})};
// 列表 - 我的红娘
const myMatcherList = (resolve) => {import('@/pages/hn-list/my-matchmaker').then((module) => {resolve(module)})};
// 列表 - 我的红娘 - 红娘详情
const hnDetail = (resolve) => {import('@/pages/hn-list/hn-detail').then((module) => {resolve(module)})};
// 列表 - 我的网友
const myFriendList = (resolve) => {import('@/pages/hn-list/my-friend').then((module) => {resolve(module)})};
// 列表 - 我的网友 - 网友详情
const friendDetail = (resolve) => {import('@/pages/hn-list/friend-detail').then((module) => {resolve(module)})};
// 匹配
const makerMatch = (resolve) => {import('@/pages/hn-match/index').then((module) => {resolve(module)})};
// 匹配详情
const matchDetail = (resolve) => {import('@/pages/hn-match/match-detail').then((module) => {resolve(module)})};
// 匹配流程
const matchProcess = (resolve) => {import('@/pages/hn-match/match-process').then((module) => {resolve(module)})};
// 消息
const makerMsg = (resolve) => {import('@/pages/hn-msg/index').then((module) => {resolve(module)})};
// 发布
const makerRelease = (resolve) => {import('@/pages/hn-release/index').then((module) => {resolve(module)})};
// 发布-活动
const releaseActivity = (resolve) => {import('@/pages/hn-release/release-activity').then((module) => {resolve(module)})};
// 发布-产品
const releaseProduct = (resolve) => {import('@/pages/hn-release/release-product').then((module) => {resolve(module)})};
// 发布-产品-鲜花珠宝旅游
const releaseCommonPro = (resolve) => {import('@/pages/hn-release/release-common').then((module) => {resolve(module)})};
// 发布-产品-婚前服务
const releaseMarriage = (resolve) => {import('@/pages/hn-release/release-marriage').then((module) => {resolve(module)})};
// 发布-产品-相亲服务
const releaseBlind = (resolve) => {import('@/pages/hn-release/release-blind').then((module) => {resolve(module)})};
// 发布-发布产品
const reProduct = (resolve) => {import('@/pages/hn-release-sub/re-product').then((module) => {resolve(module)})};
const reActive = (resolve) => {import('@/pages/hn-release-sub/re-active').then((module) => {resolve(module)})};
// 发布-已报名网友
const alreadyRegist = (resolve) => {import('@/pages/hn-release-sub/already-regist').then((module) => {resolve(module)})};
// 发布-自定义投票
const customVoting = (resolve) => {import('@/pages/hn-release-sub/custom-voting').then((module) => {resolve(module)})};
// 发布-自定义投票详情
const customVotDetail = (resolve) => {import('@/pages/hn-release-sub/custom-vot-detail').then((module) => {resolve(module)})};
// 发布-预置投票
const customVotList = (resolve) => {import('@/pages/hn-release-sub/custom-vot-list').then((module) => {resolve(module)})};
// 审核
const makerReview = (resolve) => {import('@/pages/hn-review/index').then((module) => {resolve(module)})};
// 审核-网友信息
const reviewFriendsList = (resolve) => {import('@/pages/hn-review/friend-list').then((module) => {resolve(module)})};
const reviewFriends = (resolve) => {import('@/pages/hn-review/friend-info').then((module) => {resolve(module)})};
// 审核-下线备注
const reviewNote = (resolve) => {import('@/pages/hn-review/offline-note').then((module) => {resolve(module)})};
// 审核-互动审核
const reviewInteract = (resolve) => {import('@/pages/hn-review/interact-review').then((module) => {resolve(module)})};
const reviewInteractIndex = (resolve) => {import('@/pages/hn-review/interact-index').then((module) => {resolve(module)})};
// 审核-红娘审核详情
const reviewMatchmaker = (resolve) => {import('@/pages/hn-review/matchmaker-review').then((module) => {resolve(module)})};
// 审核-红娘审核列表 
const reviewMakerIndex = (resolve) => {import('@/pages/hn-review/matchmaker-index').then((module) => {resolve(module)})};
// 审核-产品审核
const reviewProduct = (resolve) => {import('@/pages/hn-review/product-review').then((module) => {resolve(module)})};
// 审核-我的审核
const reviewMine = (resolve) => {import('@/pages/hn-review/my-review').then((module) => {resolve(module)})};
// 订单
const makerOrder = (resolve) => {import('@/pages/hn-order/index').then((module) => {resolve(module)})};
// 我的
const makerPersonal = (resolve) => {import('@/pages/hn-personal/index').then((module) => {resolve(module)})};
// 我的-文档和测试
const docAndTest = (resolve) => {import('@/pages/hn-personal/document-test').then((module) => {resolve(module)})};
// 我的-文档和测试-文档详情
const docDetail = (resolve) => {import('@/pages/hn-personal/doc-detail').then((module) => {resolve(module)})};
// 我的-文档和测试-测试详情
const testDetail = (resolve) => {import('@/pages/hn-personal/test-detail').then((module) => {resolve(module)})};
// 我的-我保存的模板
const myTemplate = (resolve) => {import('@/pages/hn-personal/my-template').then((module) => {resolve(module)})};
// 我的-我保存的模板
const myGallary = (resolve) => {import('@/pages/hn-personal/my-gallary').then((module) => {resolve(module)})};
// 我的-提升红娘等级
const improveLevel = (resolve) => {import('@/pages/hn-personal/improve-level').then((module) => {resolve(module)})};
// 我的-地址管理
const addressManage = (resolve) => {import('@/pages/hn-personal/address-manage').then((module) => {resolve(module)})};
// 我的-地址管理-新增
const addAddress = (resolve) => {import('@/pages/hn-personal/add-address').then((module) => {resolve(module)})};

// 设置
const setIndex = (resolve) => {import('@/pages/profile/setting').then((module) => {resolve(module)})};
// 设置 - 消息设置
const setMessage = (resolve) => {import('@/pages/profile/set-message').then((module) => {resolve(module)})};
const setSecret = (resolve) => {import('@/pages/profile/set-secret').then((module) => {resolve(module)})};
const setSafe = (resolve) => {import('@/pages/profile/set-safe').then((module) => {resolve(module)})};
const setContact = (resolve) => {import('@/pages/profile/set-contact').then((module) => {resolve(module)})};
const setHelp = (resolve) => {import('@/pages/profile/set-help').then((module) => {resolve(module)})};
const setAbout = (resolve) => {import('@/pages/profile/set-about').then((module) => {resolve(module)})};
const setClear = (resolve) => {import('@/pages/profile/set-secret').then((module) => {resolve(module)})};
const setLang = (resolve) => {import('@/pages/profile/set-lang').then((module) => {resolve(module)})};
const setDark = (resolve) => {import('@/pages/profile/set-dark').then((module) => {resolve(module)})};
const setPassword = (resolve) => {import('@/pages/profile/set-password').then((module) => {resolve(module)})};
const setDeal = (resolve) => {import('@/pages/profile/set-deal').then((module) => {resolve(module)})};
const setAboutInfo = (resolve) => {import('@/pages/profile/set-about-info').then((module) => {resolve(module)})};
const setAboutTips = (resolve) => {import('@/pages/profile/set-about-tips').then((module) => {resolve(module)})};
//扫码
const scancode =  (resolve) => {import('@/pages/hn-personal/scancode').then((module) => {resolve(module)})};
//广告内容
const annoView = (resolve) => {import('@/pages/messages/anno-view').then((module) => {resolve(module)})};
//绑定提现账号
const bindAccount = (resolve) => {import('@/pages/profile/billing-center/account').then((module) => {resolve(module)})};

Vue.use(Router);

export default new Router({
  // mode: 'history',
  scrollBehavior: () => ({ y: 0 }),
  routes: [
    {
      path: '/',
      redirect: '/account/login'
    },
    {
      path: '/pay',
      name: 'pay',
      component: pay
    },
    {
      path: '/account/login',
      name: 'LoginPage',
      component: loginPage
    },
    {
      path: '/account/password',
      name: 'password',
      component: findPwd
    },
    {
      path: '/account/newPassword',
      name: 'newPassword',
      component: findPwdStep
    },
    {
      path: '/account/completeMaterial',
      name: 'completeMaterial',
      component: completeMaterial
    },
    {
      path: '/meet',
      name: 'meet',
      component: meet
    },
    {
      path: '/meet/detail',
      name: 'meetDetail',
      component: meetDetail
    },
    {
      path: '/meet/talents',
      name: 'talents',
      component: talents
    },
    {
      path: '/meet/talents/:id',
      name: 'talentsDetail',
      component: talentsDetail
    },
    {
      path: '/interact',
      name: 'interact',
      component: interact,
      redirect: '/interact/all',
      children: [
        {
          path: 'all',
          name: 'allInteract',
          component: interactAll
        },
        {
          path: 'map',
          name: 'mapInteract',
          component: interactMap
        }
      ]
    },
    {
      path: '/interact/travel/:id',
      name: 'interactTravelDetail',
      component: interactDetailTravel
    },
    {
      path: '/interact/food/:id',
      name: 'interactFoodDetail',
      component: interactDetailFood
    },
    {
      path: '/interact/wolf/:id',
      name: 'interactWolfDetail',
      component: interactDetailWolf
    },
    {
      path: '/interact/tea/:id',
      name: 'interactTeaDetail',
      component: interactDetailTea
    },
    {
      path: '/interact/vote/:id',
      name: 'interactVote',
      component: interactVote
    },
    {
      path: '/messages',
      name: 'messages',
      component: messages
    },
    {
      path: '/messages/mass',
      name: 'massMessages',
      component: massMsg
    },
    {
      path: '/messages/newMass',
      name: 'newMassMessages',
      component: newMassMsg
    },
    {
      path: '/chat',
      name: 'chat',
      component: msgChat
    },
    {
      path: '/chat/setting',
      name: 'chatSetting',
      component: chatSetting
    },
    {
      path: '/explore',
      name: 'explore',
      component: explore,
      redirect: '/explore/search',
      children: [
        {
          path: 'search',
          name: 'exploreSearch',
          component: exploreSearch
        },
        {
          path: 'dynamic',
          name: 'exploreDynamic',
          component: exploreDynamic
        },
        {
          path: 'find',
          name: 'exploreFind',
          component: exploreFind
        },
        {
          path: 'mall',
          name: 'exploreMall',
          component: exploreMall,
          redirect: '/explore/mall/goods',
          children: [
            {
              path: 'goods',
              name: 'goodsList',
              component: mallGoods
            },
            {
              path: 'marriage',
              name: 'mallMarrige',
              component: mallMarrige
            },
            {
              path: 'match',
              name: 'mallMatch',
              component: mallMatch
            }
          ]
        }
      ]
    },
    {
      path: '/explore/find/saw',
      name: 'exploreFindSawMe',
      component: exploreFindSawMe
    },
    {
      path: '/explore/find/match',
      name: 'exploreFindMatch',
      component: exploreFindMatch
    },
    {
      path: '/explore/find/matchDetail',
      name: 'exploreMatchDetail',
      component: exploreMatchDetail
    },
    {
      path: '/explore/find/note',
      name: 'exploreFindNote',
      component: exploreFindNote
    },
    {
      path: '/goods/:id',
      name: 'goodsDetail',
      component: mallGoodsDetail
    },
    {
      path: '/explore/release',
      name: 'releaseDynamic',
      component: exploreDynamicRelease
    },
    {
      path: '/profile',
      name: 'profile',
      component: profile
    },
    {
      path: '/profile/detail',
      name: 'profileDetail',
      component: profileDetail
    },
    {
      path: '/profile/detail/edit',
      name: 'profileDetailEdit',
      component: profileDetailEdit
    },
    {
      path: '/profile/introduction',
      name: 'myIntroduction',
      component: myIntroduction
    },
    {
      path: '/profile/interest',
      name: 'interestEdit',
      component: interestEdit
    },
    {
      path: '/profile/gallery',
      name: 'profileGallery',
      component: profileGallery
    },
    {
      path: '/profile/service',
      name: 'profileAllService',
      component: profileAllService
    },
    {
      path: '/profile/rewardSetting',
      name: 'profileRewardSet',
      component: profileRewardSet
    },
    {
      path: '/profile/member',
      name: 'profileJoinMember',
      component: profileJoinMember
    },
    {
      path: '/profile/friends',
      name: 'profileFriends',
      component: profileFriends
    },
    {
      path: '/profile/crossFee',
      name: 'profileCrossFee',
      component: profileCrossFee
    },
    {
      path: '/profile/dynamic',
      name: 'profileDynamic',
      component: profileDynamic
    },
    {
      path: '/profile/verified',
      name: 'profileVerified',
      component: profileVerified
    },
    {
      path: '/profile/edu',
      name: 'profileEdu',
      component: profileEdu
    },
    {
      path: '/profile/wealth',
      name: 'profileWealth',
      component: profileWealth
    },
    {
      path: '/profile/car',
      name: 'profileCar',
      component: profileCar
    },
    {
      path: '/profile/billing',
      name: 'profileBilling',
      component: profileBilling
    },
    {
      path: '/profile/billings',
      name: 'billingList',
      component: billingList
    },
    {
      path: '/profile/recharge',
      name: 'billingRecharge',
      component: billingRecharge
    },
    {
      path: '/profile/withdraw',
      name: 'billingWithdraw',
      component: billingWithdraw
    },
    {
      path: '/profile/withdrawAccount',
      name: 'withdrawAccount',
      component: withdrawAccount
    },
    {
      path: '/profile/order',
      name: 'myOrder',
      component: myOrder
    },
    {
      path: '/profile/order/:id',
      name: 'orderDetail',
      component: orderDetail
    },
    {
      path: '/profile/returnGoods',
      name: 'returnGoods',
      component: returnGoods
    },
    {
      path: '/profile/myGift',
      name: 'myGift',
      component: myGift
    },
    {
      path: '/profile/applicate',
      name: 'profileAplicateMaker',
      component: profileApplicateMaker
    },
    {
      path: '/order/confirm',
      name: 'orderConfirm',
      component: mallOrderConfirm
    },
  //  红娘端-暂时放一起
    {
      path: '/maker',
      name: 'makerList',
      component: makerList,
      redirect: '/maker/matcher',
      children: [
        {
          path: 'matcher',
          name: 'makerMatch',
          component: myMatcherList
        },
        {
          path: 'friends',
          name: 'myFriendList',
          component: myFriendList
        }
      ]
    },
    {
      path: '/hnDetail',
      name: 'hnDetail',
      component: hnDetail
    },
    {
      path: '/friendDetail',
      name: 'friendDetail',
      component: friendDetail
    },
    {
      path: '/hn',
      name: 'makerMatcher',
      component: makerMatch
    },
    {
      path: '/match/detail',
      name: 'matchDetail',
      component: matchDetail
    },
    {
      path: '/match/process',
      name: 'matchProcess',
      component: matchProcess
    },
    {
      path: '/msg',
      name: 'makerMsg',
      component: makerMsg
    },
    {
      path: '/release',
      name: 'makerRelease',
      component: makerRelease,
      redirect: '/release/activity',
      children: [
        {
          path: 'activity',
          name: 'releaseActivity',
          component: releaseActivity
        },
        {
          path: 'product',
          name: 'releaseProduct',
          component: releaseProduct,
          redirect: '/release/product/common',
          children: [
            {
              path: 'common',
              name: 'releaseCommonPro',
              component: releaseCommonPro
            },
            {
              path: 'marriage',
              name: 'releaseMarriage',
              component: releaseMarriage
            },
            {
              path: 'blind',
              name: 'releaseBlind',
              component: releaseBlind
            }
          ]
        }
      ]
    },
    {
      path: '/reProduct',
      name: 'reProduct',
      component: reProduct
    },
    {
      path: '/reActive',
      name: 'reActive',
      component: reActive
    },
    {
      path: '/alreadyRegist',
      name: 'alreadyRegist',
      component: alreadyRegist
    },
    {
      path: '/customVot',
      name: 'customVoting',
      component: customVoting
    },
    {
      path: '/customVotDetail',
      name: 'customVotDetail',
      component: customVotDetail
    },
    {
      path: '/customVotList',
      name: 'customVotList',
      component: customVotList
    },
    {
      path: '/review',
      name: 'makerReview',
      component: makerReview,
      redirect: '/review/friendsList',
      children: [
        {
          path: 'friendsList',
          name: 'reviewFriendsList',
          component: reviewFriendsList
        },
        {
          path: 'friends',
          name: 'reviewFriends',
          component: reviewFriends
        },
        {
          path: 'note',
          name: 'reviewNote',
          component: reviewNote
        },
        {
          path: 'interact',
          name: 'reviewInteract',
          component: reviewInteract
        },
        {
          path: 'interactIndex',
          name: 'reviewInteractIndex',
          component: reviewInteractIndex
        },
        {
          path: 'product',
          name: 'reviewProduct',
          component: reviewProduct
        },
        {
          path: 'my',
          name: 'reviewMine',
          component: reviewMine
        },
        {
          path: 'reviewMakerIndex',
          name: 'reviewMakerIndex',
          component: reviewMakerIndex
        },
        {
          path: 'reviewMatchMaker',
          name: 'reviewMatchmaker',
          component: reviewMatchmaker
        }
      ]
    },
    {
      path: '/makerOrder',
      name: 'makerOrder',
      component: makerOrder
    },
    {
      path: '/makerPersonal',
      name: 'makerPersonal',
      component: makerPersonal
    },
    {
      path: '/docAndTest',
      name: 'docAndTest',
      component: docAndTest
    },
    {
      path: '/docDetail',
      name: 'docDetail',
      component: docDetail
    },
    {
      path: '/testDetail',
      name: 'testDetail',
      component: testDetail
    },
    {
      path: '/myTemplate',
      name: 'myTemplate',
      component: myTemplate
    },
    {
      path: '/myGallary',
      name: 'myGallary',
      component: myGallary
    },
    {
      path: '/improveLevel',
      name: 'improveLevel',
      component: improveLevel
    },
    {
      path: '/addressManage',
      name: 'addressManage',
      component: addressManage
    },
    {
      path: '/addAddress',
      name: 'addAddress',
      component: addAddress
    },
    {
      path: '/setIndex',
      name: 'setIndex',
      component: setIndex
    },
    {
      path: '/setMessage',
      name: 'setMessage',
      component: setMessage
    },
    {
      path: '/setSecret',
      name: 'setSecret',
      component: setSecret
    },
    {
      path: '/setSafe',
      name: 'setSafe',
      component: setSafe
    },
    {
      path: '/setContact',
      name: 'setContact',
      component: setContact
    },
    {
      path: '/setHelp',
      name: 'setHelp',
      component: setHelp
    },
    {
      path: '/setAbout',
      name: 'setAbout',
      component: setAbout
    },
    {
      path: '/setClear',
      name: 'setClear',
      component: setClear
    },
    {
      path: '/setLang',
      name: 'setLang',
      component: setLang
    },
    {
      path: '/setDark',
      name: 'setDark',
      component: setDark
    },
    {
      path: '/setDeal',
      name: 'setDeal',
      component: setDeal
    },
    {
      path: '/setPassword',
      name: 'setPassword',
      component: setPassword
    },
    {
      path: '/setAboutInfo',
      name: 'setAboutInfo',
      component: setAboutInfo
    },
    {
      path: '/setAboutTips',
      name: 'setAboutTips',
      component: setAboutTips
    },
    {
      path: '/annoView',
      name: 'annoView',
      component: annoView
    },
    {
      path: '/bindAccount',
      name: 'bindAccount',
      component: bindAccount
    },
    {
      path: '/scancode',
      name: 'scancode',
      component: scancode
    }
  ]
})
